Pickling State in the Java System

نویسندگان

  • Roger Riggs
  • Jim Waldo
  • Ann Wollrath
  • Krishna Bharat
چکیده

The JavarMlsystem (hereafter referred to simply as "Java") inherently supports the transmission of stateless computation in the form of object classes. In this paper we address the related task of capturing the state of a Java object in a serialized form for the purposes of transmission or storage, to be used later in reconstituting an equivalent object. This is accomplished by a mechanism known as pickling [Binel et al. 1987; Binell et al. 1994; Herlihy & Liskov 19821. Pickling is the process of creating a serialized representation of objects. Pickling defines the serialized form to include meta information that identifies the type of each object and the relationships between objects within a stream. Values and types are serialized with enough information to insure that the equivalent typed object and the objects to which it refers can be recreated. Unpickling is the complementary process of recreating objects from the serialized representation. Pickling and unpickling extract from the Java Virtual machine, at runtime, any meta information needed to pickle the fields of objects. Class specific methods are only required to customize the pickling process. l. Java and other Java-based names and logos are trademarks of Sun Microsystems, Inc., and refer to Sun's family of Java-branded products and services@ 1997 The USEND( Association, Computing Systems, Vol. 9 . No. 4 . Fall 1996 291

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Pickling State in the Java(tm) System

The JavaTM1 system (hereafter referred to simply as “Java”) inherently supports the transmission of stateless computation in the form of object classes. In this paper we address the related task of capturing the state of a Java object in a serialized form for the purposes of transmission or storage, to be used later in reconstituting an equivalent object. This is accomplished by a mechanism kno...

متن کامل

Pickling Threads State in the Java System

Java provides a serialization mechanism which allows the capture and restoration of objects’ state and therefore the migration of objects between machines. It also allows classes to be dynamically loaded and therefore to be moved between nodes. However, Java does not provide a mechanism for capturing and restoring a thread state. The stack of a Java thread is not accessible. Such a mechanism wo...

متن کامل

A Higher-order Module Discipline with Separate Compilation, Dynamic Linking, and Pickling

We present a higher-order module discipline with separate compilation and concurrent dynamic linking. Based on first-order modules one can program security policies for systems that link modules from untrusted locations (e.g., Java). We introduce a pickling operation that writes persistent clones of volatile, possibly higher-order data structures on the file system. Our pickling operation respe...

متن کامل

Object-Oriented Pickler Combinators and an Extensible Generation Framework

Serialization or pickling, i.e., persisting runtime objects by converting them into a binary or text representation is ubiquitous in distributed programming. Pickler combinators are a popular approach from functional programming designed to alleviate some of the tedium of writing pickling code by hand, but they don’t translate well to object-oriented programming due to qualities like open class...

متن کامل

A Distributed Object Model for the Java System

We show a distributed object model for the JavaTM1 System [1,6] (hereafter referred to simply as “Java”) that retains as much of the semantics of the Java object model as possible, and only includes differences where they make sense for distributed objects. The distributed object system is simple, in that a) distributed objects are easy to use and to implement, and b) the system itself is easil...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:
  • Computing Systems

دوره 9  شماره 

صفحات  -

تاریخ انتشار 1996